package com.cloud.upms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cloud.api.upms.domain.role.RoleAddUpdateReq;
import com.cloud.api.upms.domain.role.RoleListReq;
import com.cloud.api.upms.model.SysRole;

import java.util.List;

/**
 * Author:  xuanning
 * Date:    2022/10/29 2:18
 */
public interface SysRoleService extends IService<SysRole> {
    /**
     * 新增
     * @return
     */
    void addOrUpdate(RoleAddUpdateReq paramReq);

    /**
     * 列表
     * @return
     */
    List<SysRole> listRole(RoleListReq param);
    /**
     * 删除
     * @return
     */
    void delete(Long id);
}
